package io.renren.modules.app.service.impl;

import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.app.service.BannerPtService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.zheok.testing.dao.BannerPtDao;
import com.zheok.testing.entity.BannerPtEntity;



@Service("bannerPtService")
public class BannerPtServiceImpl extends ServiceImpl<BannerPtDao, BannerPtEntity> implements BannerPtService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BannerPtEntity> page = this.page(
                new Query<BannerPtEntity>().getPage(params),
                new QueryWrapper<BannerPtEntity>()
        );

        return new PageUtils(page);
    }

}